import React, { Component } from 'react';

class Mycls2 extends Component {
    render() {
        return (
            <div>
                我是类组件--cls2 -- {this.props.username}
            </div>
        );
    }
}

export default Mycls2;
